const isDev = process.env.NODE_ENV === "development";
const outputDir = "client";

module.exports = {
  baseUrl: isDev ? "/" : `/${outputDir}`,
  outputDir: outputDir,
  configureWebpack: config=>{
    if(!isDev){
      // config.plugins.push();
    }
  },
  chainWebpack: config=>{
    // 删除预加载模块
    config.plugins.delete("prefetch");
  }
};